<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/base/base.jsp"%>
<%@ include file="/base/database.jsp" %>
	
	<%
		
		String stuID=request.getParameter("stuID");
		
		String sql="delete from sys_student where stuID=?";
		
		Connection conn=getConn();
		
		PreparedStatement pstmt=conn.prepareStatement(sql);
		
		int parameterIndex=1;
		pstmt.setString(parameterIndex,stuID);
		
		int count=pstmt.executeUpdate();
		
		close(pstmt,conn);
		
		process(request,response,"student_list.jsp");
	
	%>